package com.dao;

import java.sql.SQLException;
import java.util.List;

import com.entity.Group;
import com.entity.Student;

public interface StudentDao extends BaseDao<Student, Integer> {
	
	List<Student> orderByAge() throws SQLException;
	List<Student> orderByName() throws SQLException;
	
	
	List<Group> groupByMajor() throws SQLException;
	List<Group> groupByAge() throws SQLException;
	

}
